import request from '@/utils/request'

// 查询ICS列表
export function listIcs(query) {
  return request({
    url: '/system/ics/list',
    method: 'get',
    params: query
  })
}

// 查询ICS详细
export function getIcs(id) {
  return request({
    url: '/system/ics/' + id,
    method: 'get'
  })
}

// 新增ICS
export function addIcs(data) {
  return request({
    url: '/system/ics',
    method: 'post',
    data: data
  })
}

// 修改ICS
export function updateIcs(data) {
  return request({
    url: '/system/ics',
    method: 'put',
    data: data
  })
}

// 删除ICS
export function delIcs(id) {
  return request({
    url: '/system/ics/' + id,
    method: 'delete'
  })
}
